package com.changgou;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import tk.mybatis.spring.annotation.MapperScan;

/**
 * @author ：Raoness
 * @date ：Created in 2019/7/23 15:13
 * @description ：
 * @version: 1.0
 */
@SpringBootApplication
@EnableDiscoveryClient
/**
 * @MapperScan 扫描指定的包
 * basePackages 指定的包名
 */
@MapperScan(basePackages = {"com.changgou.goods.dao"})
public class GoodsApplication {
    public static void main(String[] args) {
        SpringApplication.run(GoodsApplication.class, args);
    }
}
